package tpf.designer.pattern.course6.behavior_pattern1.command_16.AudioPlayer;

import org.junit.Test;

public class Client {

    private static Keypad keypad;
    private static AudioPlayer audioPlayer = new AudioPlayer();

    /*@Test
    public void testCommand1(){
        Command play = new PlayCommand(audioPlayer);
        Command stop = new StopCommand(audioPlayer);
        Command rewind = new RewindCommand(audioPlayer);

        keypad = new Keypad(play,stop,rewind);
        keypad.play();
        keypad.stop();
        keypad.rewind();

        keypad.stop();
        keypad.play();
        keypad.stop();
    }*/

    /*@Test
    public void testCommand2(){
        Command play = new PlayCommand(audioPlayer);
        Command stop = new StopCommand(audioPlayer);
        Command rewind = new RewindCommand(audioPlayer);

        MacroCommand macroCommand = new MacroAudioCommand();
        macroCommand.add(play);
        macroCommand.add(stop);
        macroCommand.add(rewind);

        macroCommand.add(stop);
        macroCommand.add(play);
        macroCommand.add(stop);

        macroCommand.execute();
    }*/
}
